China is struggling to encourage couples to have more children, risking its long-term economic prospects.